﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Microsoft.Xna.Framework;

namespace Common
{
    public class Tile : ITile
    {
        private TileType m_Type;
        private Direction m_Passable;
        private Vector2 m_Position;

        public Tile(TileType type, Direction passable, Vector2 position)
        {
            m_Type = type;
            m_Passable = passable;
            m_Position = position;
        }
        
        public TileType Type
        {
            get { return m_Type; }
        }

        public Direction Passable
        {
            get { return m_Passable; }
        }

        public Vector2 Position
        {
            get { return m_Position; }
        }
    }
}
